package com.leo.hadoop;

import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.conf.Configuration;

import com.leo.util.Schema;

/**
 * Describe class Main here.
 *
 *
 * Created: Mon Apr 22 21:00:39 2013
 *
 * @author <a href="mailto:leo@leo-pc">Leo</a>
 * @version 1.0
 */
public class Main {
    private static Configuration conf = null;

    /**
     * Creates a new <code>Main</code> instance.
     *
     */
    public Main() {

    }

    public static Configuration getConf() {
	if (conf == null) {
	    conf = new Configuration();
	    // TODO: config file name dynamic
	    conf.addResource("conf.xml");
	}
	return conf;
    }
    
    /**
     * Describe <code>main</code> method here.
     *
     * @param args a <code>String</code> value
     */
    public static final void main(final String[] args) {
	
    }

}
